home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000040_icon-group-sender _Tue May 26 12:40:58 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA27055
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 26 May 1998 12:40:53 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA26931; Tue, 26 May 1998 12:40:47 -0700
Date: Sat, 23 May 1998 10:24:33 -0500
Message-Id: <199805231524.KAA05320@segfault.cs.utsa.edu>
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: vladimir.grodzenski@capway.com
Cc: icon-group@optima.CS.Arizona.EDU
In-Reply-To: <199805231036.MAA17216@capway.com> (grodzens@capway.com)
Subject: Re: Annoying things
Reply-To: jeffery@cs.utsa.edu
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1203
[open(dirname) gives a file that returns a directory's filenames, one per line]
> Thanks for the suggestion, it works! You should however mention
> it in the Icon reference otherwise we can only guess... Are there
> some other "undocumented" features like with Microsoft? :-)
Oops. Well, at least I release the source code. :-)
Actually, the reason that directory reading is not yet documented is that
it is likely to change. For these kind of operating system interactions
whatever I implement and document needs to be consistent with Shamim
Mohamed's POSIX interface for Icon, Unicon. His interface supports
open(dirname) but specifies more complete file information returned for each
directory entry, such as permissions, ownership, and timestamps. Prior to
this I had made open(dirname) simpler, and some graduate students of mine
had implemented a separate function for such file attributes, fattrib().
He and I need to talk about it a bit more, but I am likely to adopt his
semantics for the lines returned by open(dirname).
Clint Jeffery, jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html